package com.kaochong.xcx.dao;

import com.kaochong.xcx.entity.BookCategory;

import java.util.List;

public interface BookCategoryMapper {
    int deleteByPrimaryKey(Integer categoryId);

    int insert(BookCategory record);

    int insertSelective(BookCategory record);

    BookCategory selectByPrimaryKey(Integer categoryId);

    int updateByPrimaryKeySelective(BookCategory record);

    int updateByPrimaryKey(BookCategory record);
	
    /************自定义方法************/
    /**
     * 查询单词书类目
     * @param status
     * @return
     */
	List<BookCategory> findByStatus(Integer status);
}